Within text notes, it's possible to enter mathematical equations using
the
button from the Formatting toolbar (generally
found under the Insert buttons).
If inserting equations frequently, using the Ctrl+M keyboard shortcut can be more comfortable.
There is currently no quick way to insert an equation, such as surrounding
it with $ or pressing Ctrl+M on an already
typed-out equation.
The mathematical expression must be written in the TeX format. There is no visual editor for the math equations, only a preview.
Enabling Display mode will render the equation slightly bigger (especially if using big operators such as summation, or fractions) and center it. Display mode equations will act as blocks (i.e. like paragraphs, or tables) and can be inserted for example in lists. Non-display equations can be part of the text.
Technically we are using the KaTeX library which allows for a subset of the TeX format. To see the full list of supported features, consult the Supported Functionsand the Support Table from the official documentation.
Math equations will be preserved when exporting to or importing from Markdown,
surrounded by \( characters for inline math expressions, and $\) for
display mode.
If you notice any issue with the Markdown import/export for equations, feel free to report it while providing the equation that causes issues.